package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author leequn
 * @since 2018-08-02
 */
@TableName("tb_client_user")
public class ClientUser extends Model<ClientUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    private Integer sex;
    /**
     * 生日
     */
    private Date birth;
    /**
     * 身份证
     */
    private String idcard;
    /**
     * 手机号码
     */
    private String telephone;
    /**
     * 邮箱
     */
    private String email;
    /**
     * 家庭住址
     */
    private String address;
    /**
     * 婚否
     */
    private Integer marriage;
    /**
     * 开发商
     */
    private Integer deptid;
    /**
     * 创建日期
     */
    private Date createtime;
    /**
     * 是否有效
     */
    private Integer stu;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirth() {
        return birth;
    }

    public void setBirth(Date birth) {
        this.birth = birth;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getMarriage() {
        return marriage;
    }

    public void setMarriage(Integer marriage) {
        this.marriage = marriage;
    }

    public Integer getDeptid() {
        return deptid;
    }

    public void setDeptid(Integer deptid) {
        this.deptid = deptid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getStu() {
        return stu;
    }

    public void setStu(Integer stu) {
        this.stu = stu;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ClientUser{" +
        "id=" + id +
        ", name=" + name +
        ", sex=" + sex +
        ", birth=" + birth +
        ", idcard=" + idcard +
        ", telephone=" + telephone +
        ", email=" + email +
        ", address=" + address +
        ", marriage=" + marriage +
        ", deptid=" + deptid +
        ", createtime=" + createtime +
        ", stu=" + stu +
        "}";
    }
}
